package com.example.demo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.demo.entity.Permissions;
import com.example.demo.service.PermissionsService;
import com.example.demo.mapper.PermissionsMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author GJC
* @description 针对表【permissions】的数据库操作Service实现
* @createDate 2025-01-12 23:14:37
*/
@Service
public class PermissionsServiceImpl extends ServiceImpl<PermissionsMapper, Permissions>
    implements PermissionsService{
    //根据id获取权限列表
    public List<Permissions> getPermissions(List<Integer> idlist){
        return this.baseMapper.selectByIds(idlist);
    }
}




